package com.lxw.nonghe.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lxw.nonghe.entity.FamilyPayment;
import com.baomidou.mybatisplus.extension.service.IService;

import java.math.BigDecimal;
import java.util.Map;

/**
 * <p>
 * 家庭缴费记录表 服务类
 * </p>
 *
 * @author lxw
 * @since 2025-05-15
 */
public interface FamilyPaymentService extends IService<FamilyPayment> {

    Page<FamilyPayment> getPaymentPage(int current, int size, Integer familyId, Integer year, String payerName);

    Page<FamilyPayment> queryPayments(FamilyPayment queryParam, int current, int size);

    Map<Integer, BigDecimal> getYearlyPaymentStatistics();
}
